<!DOCTYPE html>
<html xmlns=http://www.w3.org/1999/xhtml xmlns:bd=http://www.baidu.com/2010/xbdml>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link Rel="SHORTCUT ICON" href="/pc/login/img/logo1.png">
 <link rel="stylesheet" href="/pc/layui/css/layui.css" media="all" />
 <link rel="stylesheet" href="/pc/layout/css/font_eolqem241z66flxr.css" media="all" />
<script type="text/javascript" src="/pc/layout/js/jquery.min.js"></script>
<script type="text/javascript" src="/pc/layui/layui.js"></script>
 <script type="text/javascript" src="/pc/role/js/adm.js"></script>
<title>权限列表</title>
<style type="text/css">
  input,button,select,textarea{  
     outline:none;
} 
    ul,li{
    list-style: none;
       
    }
    .hide{
      display: none;
     } 
     span{
      cursor:pointer;
     }

</style>
</head>
<body>
<div class="main-page">
      {{ csrf_field() }}
      <input type="hidden" name="roleId" value="{{$get['roleId']}}">
        <ul style="margin-left: 7em;margin-top: 1em;">
            @if($areaInfo)
                @foreach($areaInfo as $val)
                    <li style="margin-top: .2em;margin-left: 13px" ><input type="checkbox" name="area" value="{{$val['id']}}" @if(in_array($val['id'],$adm)) checked @endif><span>{{$val['name']}}</span></li>
                @endforeach
            @endif
        </ul>
</div>
<input type="submit" id="sub" lay-submit="" class="gray" style="width: 5em;height: 2.2em;background-color: #1AA094;   margin-left: 7.9em;margin-top: 1em;" name="Submit" lay-filter="admRole" value="提交"> 
</body>
</html>